#pragma once

namespace LSH
{

class Material
{
public:
    Material(void);
    virtual ~Material(void);
public:
    void setAmbient(D3DCOLORVALUE& ambient);
    void setDiffuse(D3DCOLORVALUE& diffuse);
    void setSpecular(D3DCOLORVALUE& specular);
    void setTexture(String& fileName);
    void setTexture(Texture* pTexture);

    D3DCOLORVALUE getAmbient();
    D3DCOLORVALUE getDiffuse();
    D3DCOLORVALUE getSpecular();
    Texture* getTexture();

public:
    D3DMATERIAL9* getMaterial();

protected:
	D3DMATERIAL9		_d3DMaterial;
	Texture*			_pTexture;
};

} // end LSH
